package com.atguigu.springcloud;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @Author lizhilong
 * @create 2020/4/29 21:58
 * @desc
 */
@SpringBootApplication
@EnableEurekaClient
@Slf4j
//@RibbonClient(name = "CLOUD-PAYMENT-SERVICE",configuration = MySelfRule.class)
public class ConsumerMain {

    public static void main(String[] args) {
        try {
            SpringApplication.run(ConsumerMain.class, args);
        } catch (Exception e) {
            log.error(e.getMessage());
        }
    }
}
